package com.ehome.poct.base.dao.log.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 错误日志表
 *
 * @author 路飞
 * @Date 2021-12-22 11:26
 */
@TableName("test_device_error_log")
@Data
public class TestDeviceErrorLogDO extends BaseEntityOld<TestDeviceErrorLogDO> {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    /**
     * ID
     */
    @TableId
    private Long errorLogId;
    /**
     * 设备编号
     */
    @TableField(value = "sno")
    private String sno;
    /**
     * 设备类型 1.金标仪  2.血常规  5.生化仪 6.荧光胶体金
     */
    @TableField(value = "device_type")
    private Integer deviceType;
    /**
     * 上报时间
     */
    @TableField(value = "enent_time")
    private LocalDateTime enentTime;
    /**
     * 错误时间
     */
    @TableField(value = "error_time")
    private LocalDateTime errorTime;
    /**
     * 错误编号
     */
    @TableField(value = "error_code")
    private String errorCode;
    /**
     * 描述
     */
    @TableField(value = "error_desc")
    private String errorDesc;
    /**
     * oss 路径
     */
    @TableField(value = "oss_path")
    private String ossPath;
    /**
     * 0 默认文件/ 1文件夹
     */
    @TableField(value = "oss_path_type")
    private Integer ossPathType;
    /**
     * 桶块位置
     */
    @TableField(value = "bucket_name")
    private String bucketName;

    @TableField(value = "term_clinic_id")
    private Long termClinicId;

    @TableField("log_size")
    private Integer logSize;
}
